﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 分拣表
    /// </summary>
    [Table("PB_ReturnSorting")]
    public partial class PB_ReturnSorting
    {

        /// <summary>
        /// 回货分拣id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 回货单id
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 项目id
        /// </summary>
        public String ProjectId { get; set; }

        /// <summary>
        /// 组织id
        /// </summary>
        public String DetpId { get; set; }

        /// <summary>
        /// 回货日期
        /// </summary>
        public DateTime? ReturnDate { get; set; }

        /// <summary>
        /// 收货方
        /// </summary>
        public String Consignee { get; set; }

        /// <summary>
        /// 0 未审核  一 已审核
        /// </summary>
        public Int32? State { get; set; }

        /// <summary>
        /// 创建人id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建人名称
        /// </summary>
        public String CreatorRealName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 删除状态
        /// </summary>
        public Boolean Deleted { get; set; }
        /// <summary>
        /// 仓库id
        /// </summary>
        public String StorId { get; set; }

    }
}